package com.ruoyi.driver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机证件对象 tb_driver_credentials
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public class TbDriverCredentials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证件ID */
    @Excel(name = "证件ID")
    private Integer credentialsId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Integer driverId;

    /** 个人头像 */
    @Excel(name = "个人头像")
    private String dirverAvatar;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String identityCardFront;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String identityCardBack;

    /** 驾驶证正面 */
    @Excel(name = "驾驶证正面")
    private String drivingLicence;

    /** 从业资格证 */
    @Excel(name = "从业资格证")
    private String certification;

    /** 其他图片一 */
    @Excel(name = "其他图片一")
    private String otherOne;

    /** 其他图片二 */
    @Excel(name = "其他图片二")
    private String otherTwo;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    public void setCredentialsId(Integer credentialsId) 
    {
        this.credentialsId = credentialsId;
    }

    public Integer getCredentialsId() 
    {
        return credentialsId;
    }

    public void setDriverId(Integer driverId) 
    {
        this.driverId = driverId;
    }

    public Integer getDriverId() 
    {
        return driverId;
    }

    public void setDirverAvatar(String dirverAvatar) 
    {
        this.dirverAvatar = dirverAvatar;
    }

    public String getDirverAvatar() 
    {
        return dirverAvatar;
    }

    public void setIdentityCardFront(String identityCardFront) 
    {
        this.identityCardFront = identityCardFront;
    }

    public String getIdentityCardFront() 
    {
        return identityCardFront;
    }

    public void setIdentityCardBack(String identityCardBack) 
    {
        this.identityCardBack = identityCardBack;
    }

    public String getIdentityCardBack() 
    {
        return identityCardBack;
    }

    public void setDrivingLicence(String drivingLicence) 
    {
        this.drivingLicence = drivingLicence;
    }

    public String getDrivingLicence() 
    {
        return drivingLicence;
    }

    public void setCertification(String certification) 
    {
        this.certification = certification;
    }

    public String getCertification() 
    {
        return certification;
    }

    public void setOtherOne(String otherOne) 
    {
        this.otherOne = otherOne;
    }

    public String getOtherOne() 
    {
        return otherOne;
    }

    public void setOtherTwo(String otherTwo) 
    {
        this.otherTwo = otherTwo;
    }

    public String getOtherTwo() 
    {
        return otherTwo;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("credentialsId", getCredentialsId())
            .append("driverId", getDriverId())
            .append("dirverAvatar", getDirverAvatar())
            .append("identityCardFront", getIdentityCardFront())
            .append("identityCardBack", getIdentityCardBack())
            .append("drivingLicence", getDrivingLicence())
            .append("certification", getCertification())
            .append("otherOne", getOtherOne())
            .append("otherTwo", getOtherTwo())
            .append("createBy", getCreateBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
